package o;

import android.content.Context;
import android.graphics.Rect;
import android.text.method.TransformationMethod;
import android.view.View;
import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.d;
import java.util.Locale;

@RestrictTo({d.LIBRARY_GROUP})
public class av implements TransformationMethod {
    private Locale ˎ;

    public av(Context context) {
        this.ˎ = context.getResources().getConfiguration().locale;
    }

    public CharSequence getTransformation(CharSequence charSequence, View view) {
        return charSequence != null ? charSequence.toString().toUpperCase(this.ˎ) : null;
    }

    public void onFocusChanged(View view, CharSequence charSequence, boolean z, int i, Rect rect) {
    }
}
